.history-app {
  min-height: 100vh;
  background: var(--bg-primary);
  color: var(--text-primary);
}

.app-header {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--glass-border);
  padding: var(--spacing-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.app-header h1 {
  font-size: 24px;
  color: var(--text-primary);
}

.header-actions {
  display: flex;
  gap: var(--spacing-sm);
}

.history-content {
  padding: var(--spacing-lg);
  max-width: 1400px;
  margin: 0 auto;
}

.chart-card {
  margin-bottom: var(--spacing-xl);
  padding: var(--spacing-lg);
}

.chart-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--spacing-lg);
}

.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  gap: var(--spacing-md);
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--glass-border);
  border-top-color: var(--accent-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.error-state,
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-secondary);
}

.error-state h2,
.empty-state h2 {
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
}

